import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import './assets/css/common.css'
import 'nprogress/nprogress.css'
// 粒子背景
import Particles from 'vue3-particles'
import icons from '@/components/icons'
import './permission'

import i18n from './lang'
// 引入pinia进行全局的状态管理
import { createPinia } from 'pinia'
const pinia = createPinia()
const app = createApp(App)
app.use(icons).use(router).use(pinia).use(i18n).use(Particles).mount('#app')
